<!DOCTYPE html>
<html lang="cn">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="/js/bootstrap.min.js">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 包含 bootstrap 样式表 -->
    <link rel="stylesheet" href="https://apps.bdimg.com/libs/bootstrap/3.2.0/css/bootstrap.min.css">
</head>
<body>

    <h2 style="text-align: center">添加学生信息</h2>
    <form action="/AddStudentServlet">
        <table border="0" style="margin: 0 auto;width: 300px;height: 220px">
            <tr>
                <td>学号</td>
                <td><input type="text" name="id" required></td>
            </tr>
            <tr>
                <td>姓名</td>
                <td><input type="text" name="name" required></td>
            </tr>
            <tr>
                <td>性别</td>
                <td><input type="text" name="gender"></td>
            </tr>
            <tr>
                <td>联系地址</td>
                <td><input type="text" name="address"></td>
            </tr>
            <tr>
                <td>电话</td>
                <td><input type="text" name="telephone"></td>
            </tr>
        </table>
        <p style="text-align: center"><input type="submit">&nbsp;&nbsp;&nbsp;&nbsp;<input type="reset"></p>
    </form>




</body>
</html>